﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="PreviewImage.aspx.cs" Inherits="main_comm_PreviewImage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title><asp:Literal id="title" runat="server" Text="<%$Resources:ResourceAdmin,PREVIEW_IMAGE%>"></asp:Literal></title>
     <link href="../../css/cde.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div align=center>
        <div align="center" style="font-size:x-large; color:#37385A"><asp:Literal id="Literal1" runat="server" Text="<%$Resources:ResourceAdmin,PREVIEW_IMAGE%>"></asp:Literal></div>
        <div id="preview" class="imageFilter" align=center>
            <asp:Image ID="preViewImage" runat="server" /></div>
         <br>
        <div align=center>
            <asp:HiddenField ID="hiddPath" runat="server" />
        <asp:Button  ID="cmdClose" runat="server" Width="50" Text="<%$Resources:Resource,BTN_CLOSE %>"  class="commandDBtn" onmouseenter="document.all('cmdClose').className = 'commandSBtn';" onmouseleave="document.all('cmdClose').className = 'commandDBtn';" OnClientClick="window.close()"/> 
        </div>
    </div>
    </form>
    <%-- <script type="text/javascript">
    var fileName = document.getElementById("hiddPath").value;
    var divObj = document.getElementById("preview");
    	
    if (fileName != null)
    {
	    try {
	    divObj.filters.item("DXImageTransform.Microsoft.AlphaImageLoader").src = fileName;
	    } catch(ex)
	    { }
    }
</script>--%>
</body>
</html>
